package com.ruoyi.vim.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.vim.domain.ImWelcomeWord;

/**
 * 欢迎语配置Service接口
 *
 * @author wgp
 * @since 2022-12-10
 */
public interface IImWelcomeWordService extends IService<ImWelcomeWord> {

    /**
     * 新增欢迎语配置
     * @param imWelcomeWord
     * @return
     */
    boolean add(ImWelcomeWord imWelcomeWord);

    /**
     * 修改欢迎语配置
     * @param imWelcomeWord
     * @return
     */
    boolean edit(ImWelcomeWord imWelcomeWord);

    /**
     * 设置为默认
     * @param imWelcomeWord
     * @return
     */
    boolean setDefault(ImWelcomeWord imWelcomeWord);
}
